<?php

/** @var \Illuminate\Database\Eloquent\Factory $factory */

use App\Models\OperationManagement\SanitationTask;
use Faker\Generator as Faker;
use Illuminate\Support\Str;

$factory->define(\App\Models\CarModels\CarTask::class, function (Faker $faker) {
    return [
        'task_name' => $faker->name,
        'task_type' => $faker->numberBetween(1,3),
        'task_content' => Str::random(10),
        'user_id' => $faker->numberBetween(1,10),
        'car_id' => $faker->numberBetween(1,10),
        'task_begin_time' => $faker->time('Y-m-d H:i:s'),
        'task_end_time' => $faker->time('Y-m-d H:i:s'),
        'task_level' => $faker->numberBetween(1,3),
        'task_status' => $faker->numberBetween(1,3),
    ];
});
